<html>
<font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">
<!--       Created with the CoffeeCup HTML Editor      -->
<!--       http://www.csgnetwork.com/                  -->
<!--       Brewed on 12/31/1994 11:59:59 PM            -->
<!--       CED Subroutine given to public domain       -->
<!--       This code came from www.CSGNetwork.Com      -->
<!--
/*
/*
/*
/*
/*   The source code may be cut and pasted in a manner that 
/*   best suits your needs. 
/*   Most code will be made up of 2 parts, the javascript inserted in the <head>
/*   and the form or visual component that appears in the <body> of the page
/*
/*
/*     to obtain the javascript, copy from the 
/*	   <script> tag until the </script> tag
/*
/*
/*
/*     for the visual component Copy from the 
/*   ***** Start Visual Snippet Component *****
/*   to the 
/*   ***** End Visual Snippet Component *****
/*   Do NOT include the remarks!
/*
/*
/*   Ignore all other code.
/*
/*
/*
/*
/*
/*
/*
//-->
<head>

<!--start head-->

<title>Javascript Encoder</title>
<!--end head-->  
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#0000FF" alink="#FF0000"><font size="2" color="#000000" face="Arial">
<div align="center"><img src="snippetsheader.jpg" width="950" height="95" alt="CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!">

<div align="center"><table width="950" border="0" cellpadding="0" cellspacing="0"><tr><td>
<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-right" style="background-color:#FFFFFF;color:#000000">
  <div class="cse-branding-form" >
    <form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
      <div>
        <input type="hidden" name="cx" value="partner-pub-8018289210612122:luopoc-fjud" />
        <input type="hidden" name="ie" value="ISO-8859-1" />
        <input type="text" name="q" size="20" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
  </div>
  <div class="cse-branding-text">
    CSGNetwork Custom Search
  </div>
</div>
</td>
<td valign="middle">
<div align="right">
<a href="http://www.csgnetwork.com/sssdetails.html"><img src="openshareicon-16x16.jpg" border=0/></a>&nbsp;&nbsp;&nbsp;&nbsp;
<!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url   = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="Bookmark and Share" /></a> <script type="text/javascript">var addthis_pub = 'gloryless';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>  
<!-- AddThis Button END -->  
</div></td></tr></table></div>
<table width="950" border="0" cellpadding="5" cellspacing="0"><tr valign="top"><td colspan="2"><div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-8018289210612122";
/* Snippet Top, created 4/23/08 */
google_ad_slot = "3188621492";
google_ad_width = 728;
google_ad_height = 90;
//--></script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></td></tr><tr valign="top"><td width="10%" bgcolor="#c5c3c4" align="left"> <table border="0" width=122>  <tr bgcolor="#c5c3c4"><td><font size="2" face="arial"><b>CSGNetwork</b></td></tr>  <tr><td><a href="http://www.csgnetwork.com/sssconverters.html"><font size="2" face="arial">Snippets</a></td></tr>
<tr><td><a href="http://www.csgnetwork.com/converters.html"><font size="2" face="arial">Calculators</a></td></tr>
<tr><td><a href="http://www.csgnetwork.com/top_free_apps.html"><font size="2" face="arial">Top Free Apps</a></td>
</tr><tr><td><a href="http://www.csgnetwork.com/"><font size="2" face="arial">Home</a></td></tr>
<tr><td><font size="2" face="arial"><a href="#" onClick="history.go(-1)">Back</a> 
</td></tr></table><br><div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-8018289210612122";
/* Snippet Link Unit created 4/23/08 */
google_ad_slot = "4580845370";
google_ad_width = 120;
google_ad_height = 90;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><br /><br /></td><td><center><font color="#FF8080"><b>Right click this window and select "view source" in order to copy the source for this script.</b></font><br /><br /><div align="center">

<!-- 

/*

/*

/*

***** Start Visual Snippet Component *****

/*

/*

/*

/*

//-->
<!--v comp-->

<center><h2>Javascript Encoder</h2></center>
<br>
This script will encode Javascript to make it more difficult for people to read and/or steal.<br>

<center>
<form name="fa">
<br>
<table cellpadding="5" cellspacing=0 border=0 width="575">
<tr align="left"><td colspan="2">
<ol><li>Enter your javascript (no HTML) in the box below.
<li>Select the <b>Code Key</b> you want.
<li>Press the <b>Encode</b> button.
</ol></td></tr>
<tr valign="top" align="center">
<td width="500">
<textarea id="f2" cols=80 rows=15 wrap="off">
<SCRIPT LANGUAGE="javascript">
// SAMPLE SCRIPT #1
alert('Hello World');
</SCRIPT>

<SCRIPT LANGUAGE="javascript" SRC="your_js_file.js">
// SAMPLE SCRIPT #2 - CALLING AN EXTERNAL JS FILE
</SCRIPT>
</textarea>
</td>
<td>
<br><br>
Code Key:<br>
<select name="et" onchange="encN=this.selectedIndex+1">
<option selected>1
<option>2
<option>3
<option>4
<option>5
</select>
<br><br>
<input type="button" value="Encode" onclick="writeOut()"><br><br>
<input type="reset" value="Reset">
</td>
</tr>
</table>
<br><br>
</center>

<ol>
<li>Add your javascript code to the textarea box above.
<li>Select the "Code Key" you wish to use.
<li>Click the "Encode" button.
<li>Select all the text that appears in the box below and paste it into your HTML page where you would want the script to be. The pasted code should appear all on one line in your editor, unless you have word-wrap on. Do <b>not</b> add any linebreaks (by pressing "Enter") or the script may not work.
</ol>
<a href="javascript:document.fa.output.focus();document.fa.output.select();">Select All...</a><br>
<textarea name="output" class="outp" rows="15">
Encoded output will be displayed here...
</textarea>

</form>


<script language="javascript">

var encN=1;

// ENCODES, IN UNICODE FORMAT, ALL TEXT AND THEN ESCAPES THE OUTPUT
function encodeTxt(s){
s=escape(s);
var ta=new Array();
for(i=0;i<s.length;i++)ta[i]=s.charCodeAt(i)+encN;
return ""+escape(eval("String.fromCharCode("+ta+")"))+encN;
}


// WRITES THE DECODED OUTPUT, ALONG WITH THE ESCAPED DECODER FUNCTION TO THE DIV
function writeOut(){
document.forms["fa"].output.value="<"+"script language=javascript"+">document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('"+encodeTxt(document.forms['fa'].f2.value)+"')<"+"/script>";
}


</script>

<!--v comp-->
<!-- 

/*

/*

/*

***** End Visual Snippet Component *****

/*

/*

/*

/*

//-->



</td></tr><tr valign="top"><td colspan="2"><br /><div align="center">

<script type="text/javascript"><!--

google_ad_client = "pub-8018289210612122";

/* Snippet Bottom Leaderboard, created 4/23/08 */

google_ad_slot = "1754004656";

google_ad_width = 728;

google_ad_height = 90;

//-->

</script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

<br />
<!-- google_ad_section_start(weight=ignore) -->
<div align="center"><table width="950" border="0" cellpadding="0" cellspacing="0"><tr><td>
<FONT Size="1">
<SCRIPT LANGUAGE="JavaScript">

var dateRef = ""  ;dateRef = document.lastModified  ;document.write("<div align='left'>This Page Last Downloaded or Refreshed:  ");  document.write(dateRef);  document.write("</div>"); 

</SCRIPT>

</FONT>
</td>
<td valign="middle" width="50">
<div align="right">
<!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php" onclick="addthis_url   = location.href; addthis_title = document.title; return addthis_click(this);" target="_blank"><img src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="Bookmark and Share" /></a> <script type="text/javascript">var addthis_pub = 'gloryless';</script><script type="text/javascript" src="http://s9.addthis.com/js/widget.php?v=10"></script>  
<!-- AddThis Button END -->  
</div></td></tr></table></div>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="950">
<tr><td><SCRIPT LANGUAGE="JavaScript">

<!--



    today=new Date();

    y0=today.getFullYear();



//  --->

</SCRIPT>
<FONT Size="1"><div align="center">Registered&reg; Trademark&trade; and Copyrightฉ 1973 - <SCRIPT LANGUAGE="JavaScript">

 <!--- 

  

    document.write(y0);

 // ---></SCRIPT>
<a href="http://www.csgnetwork.com/">CSG, Computer Support Group, Inc. and CSGNetwork.Com</a> All Rights Reserved</b></div></font><br />
</td></tr></table>

<font size="3"><div align="center"><a href="http://www.csgnetwork.com/">Home</a> | <a href="http://www.csgnetwork.com/advertising.html">Advertising</a> | <a href="http://www.csgnetwork.com/converters.html">Calculators</a> | <a href="http://www.csgnetwork.com/srchcsg.html">Search</a> | <a href="http://www.csgnetwork.com/contact.html">Contact Us</a> | <a href="http://www.csgnetwork.com/sssconverters.html">Snippets</a> | <a href="http://www.csgnetwork.com/sitemap.html">Sitemap</a> | <a href="http://www.csgnetwork.com/glossary.html">Glossary</a> | <a href="http://www.csgnetwork.com/top_free_apps.html">Top Apps</a></div></font>

</CENTER>
<!-- google_ad_section_stop(weight=ignore) -->
<!-- END of Last Page Load or Refresh JavaScript -->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-586965-1");
pageTracker._trackPageview();
</script>

<!-- Start Quantcast tag -->

<script type="text/javascript">

_qoptions={

qacct:"p-e5Rm3n0BNyiaA"

};

</script>

<script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>

<noscript>

<img src="http://pixel.quantserve.com/pixel/p-e5Rm3n0BNyiaA.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>

</noscript>

<!-- End Quantcast tag -->
<br /><br /></div></td></tr></table></font></div></font></body></html>
